/* ymatou 头部css样式 */

.topbar {
    background-color: #f8f8f8;
    height: 30px;
    line-height: 30px;
    border-bottom: 0;
    z-index: 1;
    position: relative;
}

.global-wrap {
    width: 100%;
    min-width: 1200px;
}

.global-wrap .inner {
    width: 1200px;
    margin: 0 auto;
    font-size: 12px;
}


/* topbar左边样式 */

.topbar .topnar-fl {
    float: left;
    color: #666;
}

.topnar-fl span {
    padding-left: 10px;
    display: inline-block;
}

.topbar .user-type,
.topbar a {
    color: #646464;
}

.topbar .topnar-fl a {
    padding-left: 20px;
}

a:hover {
    color: #c33;
}


/* topbar右边样式 */

.topbar .topbar-fr {
    float: right;
}

.topbar .nav-item {
    display: inline-block;
    position: relative;
    height: 29px;
    border-top: 1px solid #f8f8f8;
}

.topbar .nav-item a {
    display: inline-block;
    padding: 0 10px;
}


/* rightbar */

.rightbar {
    width: 35px;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    background-color: #383838;
    color: #fff;
    z-index: 11;
}

.rightbar ul {
    padding: 270px 0 0;
    text-align: center;
}

.rightbar .user {
    border-top: 0;
}

.rightbar .item {
    border-top: 1px solid #979797;
    padding-bottom: 18px;
    position: relative;
}

.rightbar .item a {
    padding: 18px 0 7px;
    display: block;
    color: #fff;
}

.rightbar-icon {
    background-image: url(https://s2.ymatou.com/top/bd2ccc535c6ae0f5a0aeb824b98a208f.png);
    background-repeat: no-repeat;
    width: 17px;
    height: 17px;
    display: inline-block;
    vertical-align: middle;
}

.rti-user {
    background-position: 0 0;
}

.rti-cart {
    background-position: -17px 0;
}

.rightbar .title {
    margin-top: 5px;
    display: block;
    word-break: normal;
    word-wrap: normal;
}

.rti-code {
    background-position: -34px 0;
}

#qrcodeContainer {
    position: absolute;
    top: 0px;
    left: -102px;
    z-index: 1;
    width: 102px;
    height: 126px;
    background: rgb(56, 56, 56);
    display: none;
}

#qrcodeContainer img {
    width: 62px;
    height: 63px;
    display: block;
    margin: 10px auto;
}

.rti-top {
    background-position: -102px 0;
}

.rightbar .title {
    margin-top: 5px;
    display: block;
    word-break: normal;
    word-wrap: normal;
}

.item:hover #qrcodeContainer {
    display: block;
}


/* header样式 */

.global-wrap {
    width: 100%;
    min-width: 1200px;
}

.global-wrap .inner {
    width: 1200px;
    margin: 0 auto;
}

.header .header-search {
    margin: 15px 0 0;
    clear: both;
}

.clearfix,
.wrapper {
    display: block;
}

.header .header-search .logo {
    text-align: left;
    float: left;
    margin-top: 17.5px;
}

.header .header-search .logo a {
    width: 309px;
    height: 63px;
    display: block;
    background: url(https://s2.ymatou.com/home/4aa0780b5ffeee46a01f132052fdb71a.png);
}

.header .header-search .search-wrap {
    float: left;
    width: 450px;
    height: 40px;
    margin: 37.5px 0 0 63px;
    background-color: #c33;
    text-align: left;
    box-shadow: 0 1px 2px #b8b3b3;
    position: relative;
}

.header .header-search .search-wrap .input-search {
    width: 370px;
    height: 22px;
    padding: 7px 10px;
    background-color: #fff;
    border: 0;
    margin: 2px;
    font-size: 16px;
    color: #18181a;
}

.header .header-search .search-wrap .input-search::placeholder {
    color: #bbb;
}

.header .header-icon {
    background: url(https://s2.ymatou.com/home/4f17885f394dcd87bf2232af21239291.png);
    background-repeat: no-repeat;
    width: 23px;
    height: 23px;
    display: inline-block;
    vertical-align: middle;
}

.header .header-search .search-wrap .search-btn {
    background-position: -24px 0;
    width: 23px;
    height: 23px;
    margin: -6px 0 0 13px;
    *margin: -20px 0 0 12px;
    border: 0;
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

.header .header-search .qrapp {
    float: right;
    background: url(https://s2.ymatou.com/home/e99aa3f029f2ae1173fabf6e9edf6c8a.png);
    width: 161.7px;
    height: 150px;
    background-size: 161.7px 150px;
}

.header .header-search .search-wrap .search-recomend {
    display: none;
    background: #fff;
    position: absolute;
    z-index: 11;
    padding: 10px 10px 6px;
    width: 371px;
    border-left: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    border-right: 1px solid #dedede;
}

.header .header-search .search-wrap .search-recomend dl {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 5px;
}

.header .header-search .search-wrap .search-recomend dt {
    color: #dedede;
    margin-bottom: 11px;
    overflow: hidden;
}

.header .header-search .search-wrap .search-recomend dd {
    display: inline-block;
    color: #646464;
    margin-right: 20px;
    margin-bottom: 11px;
}

.header .menu-nav {
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #c33;
    position: relative;
    height: 46px;
    bottom: -2px;
    z-index: 10;
}

.header {
    border-bottom: 2px solid #c33;
}

.header .menu-nav .menu-item {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    font-size: 20px;
    color: #383838;
    padding: 0 35px;
    font-weight: 700;
    height: 45px;
    line-height: 45px;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
}

.header .menu-nav .current {
    color: #c33;
}

.header .menu-nav .menu-item:hover {
    color: #c33;
}

.header .menu-nav .menu-item .c-down {
    background: url(https://s2.ymatou.com/home/1cb1fe20152e19748e6cc8b52cc8fcbb.png) no-repeat;
    width: 14px;
    height: 8px;
    background-size: 14px 8px;
    *display: inline;
    display: inline-block;
    margin-left: 10px;
}

#categoryMenu:hover {
    height: 44px;
    border-right: 1px solid #c33;
    border-left: 1px solid #c33;
    border-bottom: 3px solid #fff;
    border-top: 1px solid #c33;
    color: #c33;
    box-shadow: 0 -1px 8px 0 #cecece;
    position: relative;
    z-index: 111;
}

.header .category-box {
    width: 100%;
    position: absolute;
    left: 0;
    top: 48px;
    overflow: hidden;
    opacity: 0;
    filter: alpha(opacity=0);
    background-color: #fff;
    box-shadow: 0 2px 8px #9b9b9b;
}

.header .category-box .category-downlist {
    width: 100%;
    position: relative;
    display: block;
}

.header .category-box .category-downlist .category-wrap {
    overflow: hidden;
    margin: 10px 5px;
}

.header .category-box .category-downlist .cw-item {
    width: 198px;
    height: 56px;
    float: left;
    border: 1px dotted #dedede;
    position: relative;
    padding: 9px 20px;
    text-align: left;
    border-left: 0;
    border-top: 0;
    margin: 0 -1px -1px 0;
}

.header .category-box .category-downlist .cw-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.header .category-box .category-downlist .cw-subtitle {
    width: 138px;
}

.header .category-box .category-downlist .cw-img {
    width: 55px;
    height: 55px;
    position: absolute;
    top: 9px;
    right: 20px;
}

.header .category-box .category-downlist .cw-img img {
    width: 55px;
    height: 55px;
}